//
//  WXPContactChooseItemView.h
//  MexicoLoan
//
//  Created by wxp on 2025/3/3.
//

#import <UIKit/UIKit.h>
#import "WXPAuthPickerView.h"

NS_ASSUME_NONNULL_BEGIN

@interface WXPContactChooseItemView : UIView

@property (nonatomic, strong) UILabel * labelTitle;

// 关系
@property (nonatomic, strong) NSArray * relationshipAry;
@property (nonatomic,   copy) NSString * relationship; // 关系

@property (nonatomic, strong) UIView * viewRelationBack;
@property (nonatomic, strong) UILabel * labelRelationTitle;
@property (nonatomic, strong) UITextField * tfRelation;
@property (nonatomic, strong) UIImageView * imageArrow;
@property (nonatomic, strong) UIButton * btnRelation;

// 姓名
@property (nonatomic, strong) UIView * viewNameBack;
@property (nonatomic, strong) UILabel * labelNameTitle;
@property (nonatomic, strong) UITextField * tfName;
@property (nonatomic, strong) UIImageView * imageAddressBook;

// 手机号
@property (nonatomic, strong) UIView * viewPhoneBack;
@property (nonatomic, strong) UILabel * labelPhoneTitle;
@property (nonatomic, strong) UITextField * tfPhone;
@property (nonatomic, strong) UIButton * btnPhone;

@property (nonatomic, strong) WXPAuthPickerView * pickerView;

@property (nonatomic, assign) int type; // 1: 关系1  2: 关系2

// block
@property (nonatomic,   copy) void(^blockResetAuthBtnState)(void);

- (void)resetTitle:(NSString *)title;

@end

NS_ASSUME_NONNULL_END
